www.gusucode.com > 云网互动影视系统(12套模版和资源联盟) 6.2 > 云网互动影视系统(12套模版和资源联盟) 6.2.4/免费版/Ad/ad_float_upanddown.js

    if (navigator.appName == "Netscape")
document.ns = navigator.appName == "Netscape"
window.screen.width>800 ? imgheight=570:imgheight=560
window.screen.width>800 ? imgright=10:imgright=30
function threenineload()
{
if (navigator.appName == "Netscape")
{document.DGbanner3.pageY=pageYOffset+window.innerHeight-imgheight;
document.DGbanner3.pageX=imgright;
threeninemove();
}
else
{
DGbanner3.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
DGbanner3.style.right=imgright;
threeninemove();
}
}
function threeninemove()
{
if(document.ns)
{
document.DGbanner3.top=pageYOffset+window.innerHeight-imgheight
document.DGbanner3.right=imgright;
setTimeout("threeninemove();",80)
}
else
{
DGbanner3.style.top=document.body.scrollTop+document.body.offsetHeight-imgheight;
DGbanner3.style.right=imgright;
setTimeout("threeninemove();",80)
}
}

function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true)
threenineload()